/**
 *
 */
#if !defined _TCHAR_HPP
#define _TCHAR_HPP

#include <string>
#include <sstream>
#include <fstream>

#ifdef _T
	#undef _T
#endif
#ifdef _UNICODE
	#define _T(x)	L##x
#else
	#define _T(x)	x
#endif

class tchar
{
	public:
		#ifdef _UNICODE
			typedef std::wstring 			tstring;
			typedef std::wstringstream		tstringstream;
			typedef std::wofstream			tofstream;
			typedef wchar_t					_tchar;
		#else
			typedef std::string 			tstring;
			typedef std::stringstream		tstringstream;
			typedef std::ofstream			tofstream;
			typedef char					_tchar;
		#endif
};

#endif